<template>
  <div>
    <label><slot></slot></label>
    <input :type="type" :value="modelValue"
     @input="$emit('update:modelValue',$event.target.value)">
     <input type="text" :value="title"
     @input="$emit('update:title',$event.target.value)"
     >
  </div>
</template>

<script setup>
    const props = defineProps(['type','modelValue','title']);

</script>

<style>

</style>